﻿using System;
using System.Runtime.Serialization;

namespace IMSAT.OFTD.DOM
{
    [Serializable]
    public class NodeExeption : OFTDException
    {
        public NodeExeption()
        {
        }

        public NodeExeption(string message) : base(message)
        {
        }

        public NodeExeption(string message, Exception innerException) : base(message, innerException)
        {
        }

        public NodeExeption(SerializationInfo info, StreamingContext context) : base(info, context)
        {
        }
    }

    [Serializable]
    public class ReadExeption : NodeExeption
    {
        public ReadExeption()
        {
        }

        public ReadExeption(string message) : base(message)
        {
        }

        public ReadExeption(string message, Exception innerException) : base(message, innerException)
        {
        }

        public ReadExeption(SerializationInfo info, StreamingContext context) : base(info, context)
        {
        }
    }
}